home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / nasm095.zip / RDOFF / RDFLOAD.H < prev    next >
C/C++ Source or Header  |  1997-07-27  |  752b  |  30 lines

  1. /* rdfload.h    RDOFF Object File loader library header file
  2.  *
  3.  * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
  4.  * Julian Hall. All rights reserved. The software is
  5.  * redistributable under the licence given in the file "Licence"
  6.  * distributed in the NASM archive.
  7.  *
  8.  * See the file 'rdfload.c' for special license information for this
  9.  * file.
  10.  */
  11.  
  12. #ifndef _RDFLOAD_H
  13. #define _RDFLOAD_H
  14.  
  15. #include "rdoff.h"
  16.  
  17. typedef struct RDFModuleStruct {
  18.   rdffile    f;    /* file structure */
  19.   unsigned char * t, * d, * b; /* text, data, and bss segments */
  20.   long        textrel;
  21.   long        datarel;
  22.   long        bssrel;
  23.   void *    symtab;
  24. } rdfmodule;
  25.  
  26. rdfmodule * rdfload(const char * filename);
  27. int rdf_relocate(rdfmodule * m);
  28.  
  29. #endif
  30.